A Characterization of Digital Search Trees from the Average Complexity Viewpoint
نویسنده
چکیده
This paper smdies the average complexity of digital search trees from the successful search point of view. The average value of the successful search is used to evaluate the search time for a given record, the number of comparisons to insert a record, etc. The average value, however, is rather a poor measure and the need for higher moments of the successful search is obvious. For example, the variance provides information on "how well is a digital tree balanced"; the third centralized moment is a measure of the skewness property of the distribution, etc. In this paper we concentrate on an open problem: how to evaluate aU moments of the successful search in an asymmetric multiway digital search tree. We prove that the m·th successful search S/I. where n is the number of stored records, satisfies lim E Sgal1nm n = Vhf, where .h I is the entropy of the alphabet. In particular, it is shown that the variance of SrI is varSrI =c Inn +0 (1) for asymmetric case, and varSn = 0 (1) for symmetric case (we also determine the constant). This gives a complete characterization of the digital search tree from the successful search view point
منابع مشابه
Probabilistic analysis of the asymmetric digital search trees
In this paper, by applying three functional operators the previous results on the (Poisson) variance of the external profile in digital search trees will be improved. We study the profile built over $n$ binary strings generated by a memoryless source with unequal probabilities of symbols and use a combinatorial approach for studying the Poissonized variance, since the probability distribution o...
متن کاملParallel Generation of t-ary Trees
A parallel algorithm for generating t-ary tree sequences in reverse B-order is presented. The algorithm generates t-ary trees by 0-1 sequences, and each 0-1 sequences is generated in constant average time O(1). The algorithm is executed on a CREW SM SIMD model, and is adaptive and cost-optimal. Prior to the discussion of the parallel algorithm a new sequential generation with O(1) average time ...
متن کاملOptimal Binary Search Trees with Costs Depending on the Access Paths
We describe algorithms for constructing optimal binary search trees, in which the access cost to each key depends on the k preceeding keys which were reached in the path to the desired key. Two kinds of optimal trees are considered, namely optimal worst case and weighted average case trees. The time complexities of the corresponding algorithms are O(n k+2) and O(kn k+2) respectively, while the ...
متن کاملImproving reservoir rock classification in heterogeneous carbonates using boosting and bagging strategies: A case study of early Triassic carbonates of coastal Fars, south Iran
An accurate reservoir characterization is a crucial task for the development of quantitative geological models and reservoir simulation. In the present research work, a novel view is presented on the reservoir characterization using the advantages of thin section image analysis and intelligent classification algorithms. The proposed methodology comprises three main steps. First, four classes of...
متن کاملOn the Use of Acoustic Emission and Digital Image Correlation for Welded Joints Damage Characterization
A series of tests have been conducted to investigate fatigue damage characterization in corroded welded steel plates using structural health monitoring (SHM) techniques. Acoustic Emission (AE) is a non-destructive testing (NDT) technique with potential applications for locating and monitoring fatigue cracks in service. In the present work, AE is implemented to characterize damage during crack e...
متن کامل